共用方式為


MetadataImporter.KnownContracts 屬性

定義

依匯入工具已知的名稱取得合約字典。

public:
 property System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ KnownContracts { System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ get(); };
public System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,System.ServiceModel.Description.ContractDescription> KnownContracts { get; }
member this.KnownContracts : System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.ServiceModel.Description.ContractDescription>
Public ReadOnly Property KnownContracts As Dictionary(Of XmlQualifiedName, ContractDescription)

屬性值

依 XML 限定名稱列出的合約字典。

備註

您可以使用 KnownContracts 屬性,新增或移除匯入工具能夠參考的合約描述及其關聯的 XML 名稱。

適用於