IVsPropertyFileOut.BeginPropertySection Yöntem

Tanım

Çağrısı yapılıncaya kadar kullanılan bir özellik bölümünü (iç özellik akışı) başlatır 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

Parametreler

szName
String

'ndaki Özellik bölümünün adını içeren dize.

szLineComment
String

'ndaki Bölüm hakkında bir açıklama içeren dize.

ppIVsPropertyStreamOut
IVsPropertyStreamOut

dışı BeginPropertySection(String, String, IVsPropertyStreamOut, UInt32) Çıktı için kullanılacak arabirime yönelik işaretçi.

pdwCookie
UInt32

dışı Bu özellik bölümünü tanımlayan bir tanımlama bilgisi olan tamsayıya yönelik işaretçi. Çağrısında kullanılır EndPropertySection(UInt32) .

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Uygulamalar

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

[C++]

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

Şunlara uygulanır