IVsBuildPropertyStorage.GetItemAttribute(UInt32, String, String) Yöntem

Tanım

VSITEMıD tarafından tanımlanan bir hiyerarşi öğesi için bir özniteliğin değerini alır.

public:
 int GetItemAttribute(System::UInt32 item, System::String ^ pszAttributeName, [Runtime::InteropServices::Out] System::String ^ % pbstrAttributeValue);
int GetItemAttribute(unsigned int item, std::wstring const & pszAttributeName, [Runtime::InteropServices::Out] std::wstring const & & pbstrAttributeValue);
public int GetItemAttribute (uint item, string pszAttributeName, out string pbstrAttributeValue);
abstract member GetItemAttribute : uint32 * string * string -> int
Public Function GetItemAttribute (item As UInteger, pszAttributeName As String, ByRef pbstrAttributeValue As String) As Integer

Parametreler

item
UInt32

'ndaki Öğe için VSITEMID.

pszAttributeName
String

'ndaki Özniteliğin adını içeren dize.

pbstrAttributeValue
String

dışı Özniteliğin değerini içeren dize.

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.

Şunlara uygulanır