DkmClrInstructionSymbol.GetMethodSymbolStoreAttribute 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.
Overloads
GetMethodSymbolStoreAttribute(String) |
Gets a custom attribute based upon its name. Not to be confused with Metadata custom attributes, these attributes are held in the symbol store. Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code. This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM). |
GetMethodSymbolStoreAttribute(DkmWorkList, String, DkmCompletionRoutine<DkmGetMethodSymbolStoreAttributeAsyncResult>) |
Gets a custom attribute based upon its name. Not to be confused with Metadata custom attributes, these attributes are held in the symbol store. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code. This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM). |
GetMethodSymbolStoreAttribute(String)
Gets a custom attribute based upon its name. Not to be confused with Metadata custom attributes, these attributes are held in the symbol store.
Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
cli::array <System::Byte> ^ GetMethodSymbolStoreAttribute(System::String ^ AttributeName);
public:
Platform::Array <byte> ^ GetMethodSymbolStoreAttribute(Platform::String ^ AttributeName);
std::Array <byte> GetMethodSymbolStoreAttribute(std::wstring const & AttributeName);
public byte[] GetMethodSymbolStoreAttribute (string AttributeName);
member this.GetMethodSymbolStoreAttribute : string -> byte[]
Public Function GetMethodSymbolStoreAttribute (AttributeName As String) As Byte()
Parameters
- AttributeName
- String
[In] The name of the attribute to find.
Returns
[Out] The value of the requested symbol store attribute. This will be an empty array if the specified attribute name cannot be found.
Applies to
GetMethodSymbolStoreAttribute(DkmWorkList, String, DkmCompletionRoutine<DkmGetMethodSymbolStoreAttributeAsyncResult>)
Gets a custom attribute based upon its name. Not to be confused with Metadata custom attributes, these attributes are held in the symbol store.
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
void GetMethodSymbolStoreAttribute(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::String ^ AttributeName, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Clr::DkmGetMethodSymbolStoreAttributeAsyncResult> ^ CompletionRoutine);
public void GetMethodSymbolStoreAttribute (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, string AttributeName, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetMethodSymbolStoreAttributeAsyncResult> CompletionRoutine);
member this.GetMethodSymbolStoreAttribute : Microsoft.VisualStudio.Debugger.DkmWorkList * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetMethodSymbolStoreAttributeAsyncResult> -> unit
Public Sub GetMethodSymbolStoreAttribute (WorkList As DkmWorkList, AttributeName As String, CompletionRoutine As DkmCompletionRoutine(Of DkmGetMethodSymbolStoreAttributeAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- AttributeName
- String
[In] The name of the attribute to find.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetMethodSymbolStoreAttributeAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.