Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the value of a GUID property.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetGuidProperty ( _
    propid As Integer, _
    <OutAttribute> ByRef pguid As Guid _
) As Integer
int GetGuidProperty(
    int propid,
    out Guid pguid
)
int GetGuidProperty(
    [InAttribute] int propid, 
    [OutAttribute] Guid% pguid
)
abstract GetGuidProperty : 
        propid:int * 
        pguid:Guid byref -> int
function GetGuidProperty(
    propid : int, 
    pguid : Guid
) : int
Parameters
- propid 
 Type: Int32- [in] Integer. The property to retrieve. A value from the __VSVPROPID enumeration. 
- pguid 
 Type: Guid%- [out] Pointer to the GUID that is the value of the property. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsWindowView::GetGuidProperty(
   [in] VSVPROPID propid, 
   [out] GUID *pguid
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.