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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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: System.Guid%
- unitId
Type: System.Int32%
Implements
IOleUndoUnit.GetUnitType(Guid%, Int32%)
.NET Framework Security
- 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.