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)

属性值

Dictionary<XmlQualifiedName,ContractDescription>

按 XML 限定名称列出的协定字典。

注解

使用 KnownContracts 属性可添加或移除协定说明和导入程序可引用的其关联 XML 名称。

适用于