IVsPropertyFileOut.BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) Método

Definição

Inicia uma seção de propriedade (fluxo de propriedade interna) usada até uma chamada para EndPropertySection(UInt32) .

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

Parâmetros

szName
String

no Cadeia de caracteres que contém o nome da seção de propriedade.

szLineComment
String

no Cadeia de caracteres que contém um comentário sobre a seção.

ppIVsPropertyStreamOut
IVsPropertyStreamOut

fora Ponteiro para a BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) interface a ser usada para saída.

pdwCookie
UInt32

fora Ponteiro para um inteiro que é um cookie que identifica esta seção de propriedade. Usado na chamada para EndPropertySection(UInt32) .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Implementações

Comentários

Assinatura COM

De VSShell. idl:

[C++]

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

Aplica-se a