IVsTextEditorPropertyContainer.GetProperty(VSEDITPROPID, Object) Yöntem

Tanım

Belirtilen metin düzenleyici özelliğini döndürür.

public:
 int GetProperty(Microsoft::VisualStudio::TextManager::Interop::VSEDITPROPID idProp, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetProperty(Microsoft::VisualStudio::TextManager::Interop::VSEDITPROPID idProp, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProperty (Microsoft.VisualStudio.TextManager.Interop.VSEDITPROPID idProp, out object pvar);
abstract member GetProperty : Microsoft.VisualStudio.TextManager.Interop.VSEDITPROPID * obj -> int
Public Function GetProperty (idProp As VSEDITPROPID, ByRef pvar As Object) As Integer

Parametreler

idProp
VSEDITPROPID

'ndaki Döndürülecek belirtilen özellik. Değerlerin listesi için idprop bkz VSEDITPROPID ..

pvar
Object

dışı Döndürülen özellik bilgilerini içeren değişken.

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.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsTextEditorPropertyContainer::GetProperty(  
   [in] VSEDITPROPID idProp,   
   [out] VARIANT *pvar  
);  

Şunlara uygulanır