IDatabaseNode.SetItemAttribute-Methode
Legt die Metadaten für dieses Element in der Projektdatei fest. Dieser Aufruf ist lediglich eine Vereinfachung für SetItemAttribute.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub SetItemAttribute ( _
attributeName As String, _
attributeValue As String _
)
void SetItemAttribute(
string attributeName,
string attributeValue
)
void SetItemAttribute(
String^ attributeName,
String^ attributeValue
)
abstract SetItemAttribute :
attributeName:string *
attributeValue:string -> unit
function SetItemAttribute(
attributeName : String,
attributeValue : String
)
Parameter
- attributeName
Typ: System.String
Der Attributname.
- attributeValue
Typ: System.String
Der Attributwert.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
Microsoft.VisualStudio.Data.Schema.Package.Project-Namespace