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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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

  • unitGuid
    Type: Guid%
  • unitId
    Type: Int32%

Implements

IOleUndoUnit.GetUnitType(Guid%, Int32%)

.NET Framework Security

See Also

Reference

UndoUnit Class

Microsoft.VisualStudio.Modeling.Shell Namespace