DkmClrLocalConstant.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 DkmClrLocalConstant object instance.
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrLocalConstant ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, System::String ^ Name, System::Object ^ Value, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ AdditionalData);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalConstant Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, string Name, object Value, System.Collections.ObjectModel.ReadOnlyCollection<byte> AdditionalData);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalConstant Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, string Name, object? Value, System.Collections.ObjectModel.ReadOnlyCollection<byte>? AdditionalData);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * string * obj * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalConstant
Public Shared Function Create (Module As DkmModule, Name As String, Value As Object, AdditionalData As ReadOnlyCollection(Of Byte)) As DkmClrLocalConstant
Parameters
- Module
- DkmModule
[In] Module where this local constant is defined.
- Name
- String
[In] Name of the constant.
- Value
- Object
[In,Optional] Value assigned to this constant. No value implies VT_EMPTY.
- AdditionalData
- ReadOnlyCollection<Byte>
[In,Optional] Additional data used by the symbol provider to identify the constant. Meaning is implementation specific.
Returns
[Out] Result of this method call.