Freigeben über


OleUndoEngine.UndoUnit.IOleUndoUnit.GetUnitType Method

Gets the type of the undo unit.

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

Syntax

'Declaration
Private Sub GetUnitType ( _
    <OutAttribute> ByRef clsid As Guid, _
    <OutAttribute> ByRef id As Integer _
) Implements IOleUndoUnit.GetUnitType
'Usage
Dim instance As OleUndoEngine..::..UndoUnit
Dim clsid As Guid
Dim id As Integer

CType(instance, IOleUndoUnit).GetUnitType(clsid, _
    id)
void IOleUndoUnit.GetUnitType(
    out Guid clsid,
    out int id
)
private:
virtual void GetUnitType(
    [OutAttribute] Guid% clsid, 
    [OutAttribute] int% id
) sealed = IOleUndoUnit::GetUnitType
private abstract GetUnitType : 
        clsid:Guid byref * 
        id:int byref -> unit 
private override GetUnitType : 
        clsid:Guid byref * 
        id:int byref -> unit 
JScript does not support explicit interface implementations.

Parameters

  • clsid
    Type: System.Guid%
    [out] The GUID of this class.

Implements

IOleUndoUnit.GetUnitType(Guid%, Int32%)

.NET Framework Security

See Also

Reference

OleUndoEngine.UndoUnit Class

OleUndoEngine.UndoUnit Members

Microsoft.VisualStudio.Shell.Design Namespace