IVsBuildPropertyStorage.SetItemAttribute(UInt32, String, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
VSITEMıD tarafından tanımlanan bir hiyerarşi öğesi için bir özniteliğin değerini ayarlar.
public:
int SetItemAttribute(System::UInt32 item, System::String ^ pszAttributeName, System::String ^ pszAttributeValue);
public:
int SetItemAttribute(unsigned int item, Platform::String ^ pszAttributeName, Platform::String ^ pszAttributeValue);
int SetItemAttribute(unsigned int item, std::wstring const & pszAttributeName, std::wstring const & pszAttributeValue);
public int SetItemAttribute (uint item, string pszAttributeName, string pszAttributeValue);
abstract member SetItemAttribute : uint32 * string * string -> int
Public Function SetItemAttribute (item As UInteger, pszAttributeName As String, pszAttributeValue As String) As Integer
Parametreler
- item
- UInt32
'ndaki Öğe için VSITEMID.
- pszAttributeName
- String
'ndaki Özniteliğin adını içeren dize.
- pszAttributeValue
- String
'ndaki Özniteliğin değerini içeren dize.
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.