Share via


UndoUnit.GetUnitType Method

Used by undo manager to provide special handling for certain undo units based on their type -- we don't use this method

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Sub GetUnitType ( _
    <OutAttribute> ByRef unitGuid As Guid, _
    <OutAttribute> ByRef unitId As Integer _
)
public void GetUnitType(
    out Guid unitGuid,
    out int unitId
)
public:
virtual void GetUnitType(
    [OutAttribute] Guid% unitGuid, 
    [OutAttribute] int% unitId
) sealed
abstract GetUnitType : 
        unitGuid:Guid byref * 
        unitId:int byref -> unit  
override GetUnitType : 
        unitGuid:Guid byref * 
        unitId:int byref -> unit
public final function GetUnitType(
    unitGuid : Guid, 
    unitId : int
)

Parameters

Implements

IOleUndoUnit.GetUnitType(Guid%, Int32%)

.NET Framework Security

See Also

Reference

UndoUnit Class

Microsoft.VisualStudio.Modeling.Shell Namespace