Share via


Target Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the target type for the attribute.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Property Target As Type
public Type Target { get; set; }
public:
property Type^ Target {
    Type^ get ();
    void set (Type^ value);
}
member Target : Type with get, set
function get Target () : Type
function set Target (value : Type)

Property Value

Type: System. . :: . .Type
The target type for the attribute.

Exceptions

Exception Condition
ArgumentNullException

Target is set to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

Remarks

Use this property to specify the target type when the attribute is used at the assembly level.

.NET Framework Security

See Also

Reference

DebuggerTypeProxyAttribute Class

System.Diagnostics Namespace