SymWriter.SetSymAttribute(SymbolToken, String, Byte[]) 方法

定义

在给定特性名称和特性值的情况下,定义特性。

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

参数

parent
SymbolToken

正在为其定义特性的元数据标记。

name
String

特性名称。

data
Byte[]

特性值。

实现

注解

方法 SetSymAttribute 仅与符号信息相关联,不是元数据自定义属性。

适用于