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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา