Bewerken

Share via


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

Definition

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())

Parameters

parent
SymbolToken

The metadata token for which the attribute is being defined.

name
String

The attribute name.

data
Byte[]

The attribute value.

Remarks

The SetSymAttribute method is only associated with symbolic information and is not a metadata custom attribute.

Applies to