다음을 통해 공유


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

‘선언
Function GetGuidProperty ( _
    propid As Integer, _
    <OutAttribute> ByRef pguid As Guid _
) As Integer
‘사용 방법
Dim instance As IVsWindowView
Dim propid As Integer
Dim pguid As Guid
Dim returnValue As Integer

returnValue = instance.GetGuidProperty(propid, _
    pguid)
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

IVsWindowView Members

Microsoft.VisualStudio.Shell.Interop Namespace