DkmClrDebuggerDisplayAttribute.Create 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.
Create a new DkmClrDebuggerDisplayAttribute object instance.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrDebuggerDisplayAttribute ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ TargetType, System::String ^ TargetMember, System::String ^ OriginatingAssemblyName, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ OriginatingAssemblyPublicKeyToken, System::String ^ Value, System::String ^ Name, System::String ^ TypeName);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrDebuggerDisplayAttribute Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrType TargetType, string TargetMember, string OriginatingAssemblyName, System.Collections.ObjectModel.ReadOnlyCollection<byte> OriginatingAssemblyPublicKeyToken, string Value, string Name, string TypeName);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrDebuggerDisplayAttribute Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrType TargetType, string? TargetMember, string? OriginatingAssemblyName, System.Collections.ObjectModel.ReadOnlyCollection<byte>? OriginatingAssemblyPublicKeyToken, string? Value, string? Name, string? TypeName);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrType * string * string * System.Collections.ObjectModel.ReadOnlyCollection<byte> * string * string * string -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrDebuggerDisplayAttribute
Public Shared Function Create (TargetType As DkmClrType, TargetMember As String, OriginatingAssemblyName As String, OriginatingAssemblyPublicKeyToken As ReadOnlyCollection(Of Byte), Value As String, Name As String, TypeName As String) As DkmClrDebuggerDisplayAttribute
Parameters
- TargetType
- DkmClrType
[In] The type this attribute applies to.
- TargetMember
- String
[In,Optional] The member this attribute applies to if applicable.
- OriginatingAssemblyName
- String
[In,Optional] The simple name (not full name) of the originating assembly for this attribute. This value is null if the attribute did not come from the debuggee process.
- OriginatingAssemblyPublicKeyToken
- ReadOnlyCollection<Byte>
[In,Optional] The public key token of the originating assembly. This value is null if the originating assembly is not signed or the attribute did not come from the debuggee process.
- Value
- String
[In,Optional] The value to display in the debugger variable windows.
- Name
- String
[In,Optional] The name to display in the debugger variable windows.
- TypeName
- String
[In,Optional] The type name to display in the debugger variable windows.
Returns
[Out] Result of this method call.