MonikerKey 建構函式
使用指定的 GUID 和存放區,初始化 MonikerKey 的新執行個體。
命名空間: Microsoft.VisualStudio.Modeling
組件: Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
語法
'宣告
Public Sub New ( _
monikerName As String, _
domainRelationshipId As Guid, _
domainClassId As Guid, _
store As Store _
)
public MonikerKey(
string monikerName,
Guid domainRelationshipId,
Guid domainClassId,
Store store
)
參數
- monikerName
類型:System.String
MonikerKey 的名稱。
- domainRelationshipId
類型:System.Guid
與 MonikerKey 相關聯的網域關聯性的 GUID。
- domainClassId
類型:System.Guid
與 MonikerKey 相關聯的網域類別的 GUID。
- store
類型:Microsoft.VisualStudio.Modeling.Store
在其中建立 MonikerKey 的存放區。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。