Search Results for

    Show / Hide Table of Contents

    Interface IDirectoryReference

    Interface representing reference to a single directory.

    Namespace: Dicom.IO
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IDirectoryReference

    Properties

    Exists

    Gets whether the directory exists or not.

    Declaration
    bool Exists { get; }
    Property Value
    Type Description
    Boolean

    Name

    Gets the path name of the current directory.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    String

    Methods

    Create()

    Create the directory path.

    Declaration
    void Create()

    EnumerateDirectoryNames()

    Gets the names of the sub-directories in the current directory.

    Declaration
    IEnumerable<string> EnumerateDirectoryNames()
    Returns
    Type Description
    IEnumerable<String>

    Names of the sub-directories in the current directory.

    EnumerateFileNames(String)

    Gets the file names of the files in the current directory.

    Declaration
    IEnumerable<string> EnumerateFileNames(string searchPattern = null)
    Parameters
    Type Name Description
    String searchPattern

    File search pattern; if null or empty all files in the directory should be returned.

    Returns
    Type Description
    IEnumerable<String>

    File names of the files in the current directory.

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