DomainXmlSerializerDirectory.GetPropertySerializer Method
Get the DomainPropertyXmlSerializer instance for the given property type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Function GetPropertySerializer ( _
propertyType As Type _
) As DomainPropertyXmlSerializer
public DomainPropertyXmlSerializer GetPropertySerializer(
Type propertyType
)
public:
DomainPropertyXmlSerializer^ GetPropertySerializer(
Type^ propertyType
)
member GetPropertySerializer :
propertyType:Type -> DomainPropertyXmlSerializer
public function GetPropertySerializer(
propertyType : Type
) : DomainPropertyXmlSerializer
Parameters
- propertyType
Type: System.Type
The type of the property being serialized
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainPropertyXmlSerializer
The serializer instance for the given type, or NULL if no there's no serializer for the given type.
Remarks
Gets the DomainPropertyXmlSerializer instance for the given property type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.