IVsWindowView.SetGuidProperty Method

Set the value of a GUID property.

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


Function SetGuidProperty ( _
    propid As Integer, _
    ByRef rguid As Guid _
) As Integer
‘사용 방법
Dim instance As IVsWindowView
Dim propid As Integer
Dim rguid As Guid
Dim returnValue As Integer

returnValue = instance.SetGuidProperty(propid, _
int SetGuidProperty(
    int propid,
    ref Guid rguid
int SetGuidProperty(
    [InAttribute] int propid, 
    [InAttribute] Guid% rguid
abstract SetGuidProperty : 
        propid:int * 
        rguid:Guid byref -> int 
function SetGuidProperty(
    propid : int, 
    rguid : Guid
) : int


  • rguid
    Type: System.Guid%
    [in] Reference to a GUID. The value to assign to the property.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell.idl:

HRESULT IVsWindowView::SetGuidProperty(
   [in] VSVPROPID propid, 
   [in] REFGUID rguid

.NET Framework Security

See Also


IVsWindowView Interface

IVsWindowView Members

Microsoft.VisualStudio.Shell.Interop Namespace