ISymbolWriter.SetSymAttribute(SymbolToken, String, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.