Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: System.Int32[in] Integer. The property to retrieve. A value from the __VSVPROPID enumeration.
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
- 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.