IOleUndoUnit.GetUnitType Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetUnitType ( _
<OutAttribute> ByRef pClsid As Guid, _
<OutAttribute> ByRef plID As Integer _
)
'使用
Dim instance As IOleUndoUnit
Dim pClsid As Guid
Dim plID As Integer
instance.GetUnitType(pClsid, plID)
void GetUnitType(
out Guid pClsid,
out int plID
)
void GetUnitType(
[OutAttribute] Guid% pClsid,
[OutAttribute] int% plID
)
function GetUnitType(
pClsid : Guid,
plID : int
)
Parameters
- pClsid
Type: System.Guid%
- plID
Type: System.Int32%
Remarks
For information on the COM interface, see IOleUndoUnit::GetUnitType
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.