GraphObject.CopyProperties 方法
複製指定之物件中的任何新屬性,並保持現有的屬性值不變。
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Function CopyProperties ( _
other As GraphObject _
) As Boolean
public bool CopyProperties(
GraphObject other
)
public:
bool CopyProperties(
GraphObject^ other
)
member CopyProperties :
other:GraphObject -> bool
public function CopyProperties(
other : GraphObject
) : boolean
參數
- other
型別:Microsoft.VisualStudio.GraphModel.GraphObject
要從中複製屬性的物件
傳回值
型別:System.Boolean
如果這個物件已變更則為 true,否則為 false
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。