IVsPropertyStreamOut.BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) Methode

Definition

Startet einen Eigenschaftabschnitt (innerer Eigenschaftstream), der bis zu einen Aufruf von EndPropertySection(UInt32) verwendet wird.

public:
 int BeginPropertySection(System::String ^ szName, System::String ^ szLineComment, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsPropertyStreamOut ^ % ppIVsPropertyStreamOut, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int BeginPropertySection(std::wstring const & szName, std::wstring const & szLineComment, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsPropertyStreamOut const & & ppIVsPropertyStreamOut, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int BeginPropertySection (string szName, string szLineComment, out Microsoft.VisualStudio.Shell.Interop.IVsPropertyStreamOut ppIVsPropertyStreamOut, out uint pdwCookie);
abstract member BeginPropertySection : string * string * IVsPropertyStreamOut * uint32 -> int
Public Function BeginPropertySection (szName As String, szLineComment As String, ByRef ppIVsPropertyStreamOut As IVsPropertyStreamOut, ByRef pdwCookie As UInteger) As Integer

Parameter

szName
String

[in] Zeichenfolge, die den Namen des Eigenschaftsabschnitts enthält.

szLineComment
String

[in] Zeichenfolge, die einen Kommentar zum Abschnitt enthält.

ppIVsPropertyStreamOut
IVsPropertyStreamOut

[out] Zeiger auf die BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32)-Schnittstelle, die für die Ausgabe verwendet werden soll.

pdwCookie
UInt32

[out] Zeiger auf eine Ganzzahl, die ein Cookie ist, das diesen Eigenschaftabschnitt identifiziert. Wird im Aufruf von EndPropertySection(UInt32) verwendet.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell. idl:

[C++]

HRESULT IVsPropertyStreamOut::BeginPropertySection(  
   [in] LPCOLESTR szName,   
   [in] LPCOLESTR szLineComment,   
   [out] IVsPropertyStreamOut **ppIVsPropertyStreamOut,   
   [out] VSCOOKIE *pdwCookie  
);  

Gilt für