ReflectionModelServices.IsImportingParameter(ImportDefinition) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定导入定义是表示一个成员还是表示一个参数。
public:
 static bool IsImportingParameter(System::ComponentModel::Composition::Primitives::ImportDefinition ^ importDefinition);public static bool IsImportingParameter (System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition);static member IsImportingParameter : System.ComponentModel.Composition.Primitives.ImportDefinition -> boolPublic Shared Function IsImportingParameter (importDefinition As ImportDefinition) As Boolean参数
- importDefinition
- ImportDefinition
要检查的导入定义。
返回
如果导入定义表示一个参数,则为 true;否则为 false。
例外
              importDefinition 为 null。