共用方式為


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 只會與符號資訊相關聯,而且不是元數據自定義屬性。

適用於