DebuggerDisplayAttribute.TargetTypeName 屬性

定義

取得或設定屬性 (Attribute) 的目標型別名稱。Gets or sets the type name of the attribute's target.

public:
 property System::String ^ TargetTypeName { System::String ^ get(); void set(System::String ^ value); };
public string TargetTypeName { get; set; }
public string? TargetTypeName { get; set; }
member this.TargetTypeName : string with get, set
Public Property TargetTypeName As String

屬性值

String

屬性 (Attribute) 的目標型別名稱。The name of the attribute's target type.

備註

當在元件層級使用屬性時,請使用這個屬性來指定目標型別的名稱。Use this property to specify the name of the target type when the attribute is used at the assembly level.

適用於