Share via


IDSRefConsumer.GetProperty Method

Retrieves the GUID and Variant property associated with the specified node.

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Function GetProperty ( _
    drnidCurr As IntPtr, _
    ByRef guidProp As Guid _
) As Object
Object GetProperty(
    IntPtr drnidCurr,
    ref Guid guidProp
)
Object^ GetProperty(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] Guid% guidProp
)
abstract GetProperty : 
        drnidCurr:IntPtr * 
        guidProp:Guid byref -> Object
function GetProperty(
    drnidCurr : IntPtr, 
    guidProp : Guid
) : Object

Parameters

  • drnidCurr
    Type: System.IntPtr

    [in] DSREFNODEID of the node whose property is to be retrieved.

  • guidProp
    Type: System.Guid%

    [in] REFGUID of the property to be retrieved.

Return Value

Type: System.Object
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop Namespace