IVsPropertyFileOut.BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) Метод

Определение

Начинает раздел свойств (внутренний поток свойств, который используется до вызова метода 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

Параметры

szName
String

[in] Строка, содержащий имя раздела свойства.

szLineComment
String

[in] Строка, содержащая комментарий относительно раздела.

ppIVsPropertyStreamOut
IVsPropertyStreamOut

[out] Указатель на интерфейс BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32), который необходимо использовать для вывода.

pdwCookie
UInt32

[out] Указатель на целочисленное значение, являющийся файлом cookie, идентифицирующим данный раздел свойства. Используется в вызове EndPropertySection(UInt32).

Возвращаемое значение

Int32

Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.

Реализации

Комментарии

Подпись COM

Из всшелл. IDL:

[C++]

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

Применяется к