共用方式為


DomainXmlSerializerDirectory.GetPropertySerializer(Type) Method

Definition

Get the DomainPropertyXmlSerializer instance for the given property type.

public:
 Microsoft::VisualStudio::Modeling::DomainPropertyXmlSerializer ^ GetPropertySerializer(Type ^ propertyType);
public Microsoft.VisualStudio.Modeling.DomainPropertyXmlSerializer GetPropertySerializer (Type propertyType);
member this.GetPropertySerializer : Type -> Microsoft.VisualStudio.Modeling.DomainPropertyXmlSerializer
Public Function GetPropertySerializer (propertyType As Type) As DomainPropertyXmlSerializer

Parameters

propertyType
Type

The type of the property being serialized

Returns

The serializer instance for the given type, or NULL if no there's no serializer for the given type.

Applies to