获取抵消单位的类型。
命名空间: Microsoft.VisualStudio.Shell.Design
程序集: Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)
语法
声明
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
)
参数
- clsid
类型:System.Guid%
[out] 此类 GUID。
- id
类型:System.Int32%
[out] 返回 0。
实现
IOleUndoUnit.GetUnitType(Guid%, Int32%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。