Metoda Documents.Open —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Microsoft tylko do użytku wewnętrznego.

Przestrzeń nazw:  EnvDTE
Zestaw:  EnvDTE (w EnvDTE.dll)

Składnia

'Deklaracja
Function Open ( _
    PathName As String, _
    Kind As String, _
    ReadOnly As Boolean _
) As Document
Document Open(
    string PathName,
    string Kind,
    bool ReadOnly
)
Document^ Open(
    String^ PathName, 
    String^ Kind, 
    bool ReadOnly
)
abstract Open : 
        PathName:string * 
        Kind:string * 
        ReadOnly:bool -> Document
function Open(
    PathName : String, 
    Kind : String, 
    ReadOnly : boolean
) : Document

Parametry

  • PathName
    Typ: String

    Ścieżka pliku.

  • Kind
    Typ: String

    Rodzaj pliku.

  • ReadOnly
    Typ: Boolean

    Czy plik jest tylko do odczytu.

Wartość zwracana

Typ: EnvDTE.Document
Dokument.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Documents Interfejs

Przestrzeń nazw EnvDTE