IOleObject.GetUserType Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Function GetUserType ( _
dwFormOfType As UInteger, _
pszUserType As IntPtr _
) As Integer
'使用
Dim instance As IOleObject
Dim dwFormOfType As UInteger
Dim pszUserType As IntPtr
Dim returnValue As Integer
returnValue = instance.GetUserType(dwFormOfType, _
pszUserType)
int GetUserType(
uint dwFormOfType,
IntPtr pszUserType
)
int GetUserType(
[InAttribute] unsigned int dwFormOfType,
[InAttribute] IntPtr pszUserType
)
function GetUserType(
dwFormOfType : uint,
pszUserType : IntPtr
) : int
Parameters
- dwFormOfType
Type: System.UInt32
- pszUserType
Type: System.IntPtr
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IOleObject::GetUserType
Permissions
- 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.