DiagramDocView.GetProperty 方法

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

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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 命名空间