Search Results for

    Show / Hide Table of Contents

    Class DesktopPath

    .NET/Windows Desktop implementation of the IPath interface.

    Inheritance
    Object
    DesktopPath
    Implements
    IPath
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.IO
    Assembly: cs.temp.dll.dll
    Syntax
    public class DesktopPath : IPath

    Fields

    Instance

    Single instance of the DesktopPath class.

    Declaration
    public static readonly IPath Instance
    Field Value
    Type Description
    IPath

    Methods

    Combine(String[])

    Combines an array of strings into a path.

    Declaration
    public string Combine(params string[] paths)
    Parameters
    Type Name Description
    String[] paths

    An array of parts of the path.

    Returns
    Type Description
    String

    The combined paths.

    GetDirectoryName(String)

    Returns the directory information for the specified path string.

    Declaration
    public string GetDirectoryName(string path)
    Parameters
    Type Name Description
    String path

    The path of a file or directory.

    Returns
    Type Description
    String

    Directory information for path, or null if path denotes a root directory or is null. Returns Empty if path does not contain directory information.

    GetTempDirectory()

    Returns the path of the current user's temporary folder.

    Declaration
    public string GetTempDirectory()
    Returns
    Type Description
    String

    The path to the temporary folder, ending with a backslash.

    GetTempFileName()

    Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.

    Declaration
    public string GetTempFileName()
    Returns
    Type Description
    String

    The full path of the temporary file.

    Implements

    IPath
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors