IVsWindowView.GetGuidProperty Method

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

  • pguid
    Type: System.Guid%

    [out] Pointer to the GUID that is the value of the property.

Return Value

Type: System.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

See Also

Reference

IVsWindowView Interface

Microsoft.VisualStudio.Shell.Interop Namespace