Partager via


OleUndoEngine.UndoUnit.IOleParentUndoUnit.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 IOleParentUndoUnit.GetUnitType
void IOleParentUndoUnit.GetUnitType(
    out Guid clsid,
    out int id
)
private:
virtual void GetUnitType(
    [OutAttribute] Guid% clsid, 
    [OutAttribute] int% id
) sealed = IOleParentUndoUnit::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: Guid%

    [out] Returns the GUID of this class.

  • id
    Type: Int32%

    [out] Returns 0.

Implements

IOleParentUndoUnit.GetUnitType(Guid%, Int32%)

Remarks

This method calls GetUnitType.

.NET Framework Security

See Also

Reference

OleUndoEngine.UndoUnit Class

Microsoft.VisualStudio.Shell.Design Namespace