GraphSchema.FindProperty 方法
取得具有指定之 ID 的 GraphProperty.
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Function FindProperty ( _
id As String _
) As GraphProperty
public GraphProperty FindProperty(
string id
)
public:
GraphProperty^ FindProperty(
String^ id
)
member FindProperty :
id:string -> GraphProperty
public function FindProperty(
id : String
) : GraphProperty
參數
- id
型別:System.String
衍生的 GraphProperty 的唯一 ID。
傳回值
型別:Microsoft.VisualStudio.GraphModel.GraphProperty
比對 GraphProperty 則為 null,如果找不到則為。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。