DiagramDocView.GetProperty 方法

获取分配给该模型中的元素的属性。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Public Function GetProperty ( _
    propid As UInteger, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
public int GetProperty(
    uint propid,
    out Object pvar
)

参数

返回值

类型:System.Int32
如果 VSFTPROPID_DocName 时, S_OK。否则为 E_NOTIMPL

实现

IVsFindTarget.GetProperty(UInt32, Object%)

备注

仅支持 VSFTPROPID_DocName

此方法是 IVsFindTarget 接口的一部分。可以对此接口使用任何选项除外 查找查找/替换

.NET Framework 安全性

请参见

参考

DiagramDocView 类

Microsoft.VisualStudio.Modeling.Shell 命名空间