ISymbolWriter.SetSymAttribute(SymbolToken, String, Byte[]) ISymbolWriter.SetSymAttribute(SymbolToken, String, Byte[]) ISymbolWriter.SetSymAttribute(SymbolToken, String, Byte[]) ISymbolWriter.SetSymAttribute(SymbolToken, String, Byte[]) Method

Definition

Definiert ein Attribut, wenn Attributname und Attributwert angegeben sind.Defines an attribute when given the attribute name and the attribute value.

public:
 void SetSymAttribute(System::Diagnostics::SymbolStore::SymbolToken parent, System::String ^ name, cli::array <System::Byte> ^ data);
public void SetSymAttribute (System.Diagnostics.SymbolStore.SymbolToken parent, string name, byte[] data);
abstract member SetSymAttribute : System.Diagnostics.SymbolStore.SymbolToken * string * byte[] -> unit
Public Sub SetSymAttribute (parent As SymbolToken, name As String, data As Byte())

Parameter

parent
SymbolToken SymbolToken SymbolToken SymbolToken

Das Metadatentoken, für das das Attribut definiert wird.The metadata token for which the attribute is being defined.

name
String String String String

Der Attributname.The attribute name.

data
Byte[]

Der Attributwert.The attribute value.

Hinweise

Die SetSymAttribute -Methode ist nur symbolischen Informationen zugeordnet und kein benutzerdefiniertes Metadatenattribut.The SetSymAttribute method is only associated with symbolic information and is not a metadata custom attribute.

Gilt für: