Compartilhar via


DkmClrCustomTypeInfo.Create Method

Definition

Overloads

Create(Guid, ReadOnlyCollection<Byte>)

Create a new DkmClrCustomTypeInfo object instance.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

Create(Guid, ReadOnlyCollection<Byte>, ReadOnlyCollection<DkmClrType>, ReadOnlyCollection<DkmClrType>)

Create a new DkmClrCustomTypeInfo object instance.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Create(Guid, ReadOnlyCollection<Byte>)

Create a new DkmClrCustomTypeInfo object instance.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ Create(Guid PayloadTypeId, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Payload);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo Create (Guid PayloadTypeId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Payload);
static member Create : Guid * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo
Public Shared Function Create (PayloadTypeId As Guid, Payload As ReadOnlyCollection(Of Byte)) As DkmClrCustomTypeInfo

Parameters

PayloadTypeId
Guid

[In] This Guid is used to identify the type of the payload. This allows result providers to ignore ClrCustomTypeInfos from different compilers.

Payload
ReadOnlyCollection<Byte>

[In] Data payload that contains compiler-specific custom information to be used by a result provider to decode the given type.

Returns

[Out] Result of this method call.

Applies to

Create(Guid, ReadOnlyCollection<Byte>, ReadOnlyCollection<DkmClrType>, ReadOnlyCollection<DkmClrType>)

Create a new DkmClrCustomTypeInfo object instance.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ Create(Guid PayloadTypeId, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Payload, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ OptionalCustomModifiers, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ RequiredCustomModifiers);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo Create (Guid PayloadTypeId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Payload, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> OptionalCustomModifiers, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> RequiredCustomModifiers);
public static Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo Create (Guid PayloadTypeId, System.Collections.ObjectModel.ReadOnlyCollection<byte> Payload, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType>? OptionalCustomModifiers, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType>? RequiredCustomModifiers);
static member Create : Guid * System.Collections.ObjectModel.ReadOnlyCollection<byte> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> -> Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo
Public Shared Function Create (PayloadTypeId As Guid, Payload As ReadOnlyCollection(Of Byte), OptionalCustomModifiers As ReadOnlyCollection(Of DkmClrType), RequiredCustomModifiers As ReadOnlyCollection(Of DkmClrType)) As DkmClrCustomTypeInfo

Parameters

PayloadTypeId
Guid

[In] This Guid is used to identify the type of the payload. This allows result providers to ignore ClrCustomTypeInfos from different compilers.

Payload
ReadOnlyCollection<Byte>

[In] Data payload that contains compiler-specific custom information to be used by a result provider to decode the given type.

OptionalCustomModifiers
ReadOnlyCollection<DkmClrType>

[In,Optional] Optional type modifiers (modopt) present in the field, method, or property signature from which this value was obtained.

RequiredCustomModifiers
ReadOnlyCollection<DkmClrType>

[In,Optional] Required type modifiers (modreq) present in the field, method, or property signature from which this value was obtained.

Returns

[Out] Result of this method call.

Applies to