Freigeben über


ContractBasedImportDefinition.RequiredTypeIdentity Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the expected type of the export that matches this ContractBasedImportDefinition.

Namespace:  System.ComponentModel.Composition.Primitives
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property RequiredTypeIdentity As String
public virtual string RequiredTypeIdentity { get; }

Property Value

Type: System.String
A string that is generated by calling the GetTypeIdentity method on the type that this import expects. If the value is nulla null reference (Nothing in Visual Basic) then this import does not expect a particular type.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.