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
'宣言
Private Sub GetUnitType ( _
<OutAttribute> ByRef clsid As Guid, _
<OutAttribute> ByRef id As Integer _
) Implements IOleUndoUnit.GetUnitType
void IOleUndoUnit.GetUnitType(
out Guid clsid,
out int id
)
Parameters
- clsid
Type: System.Guid%
[out] The GUID of this class.
- id
Type: System.Int32%
[out] Returns 0.
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.