PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/Portable­Serialization­Binder Class/Portable­Serialization­Binder Methods/Portable­Serialization­Binder.​Bind­To­Name Method

PortableSerializationBinder.BindToName Method

Gets the name and the assembly name of a given Type.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual void BindToName(
	Type type,
	out string typeName,
	out string assemblyName
)

Parameters

type
Type: System.Type
The Type.
typeName
Type: System.String
At output, the name of type.
assemblyName
Type: System.String
At output, the name of assemblyName.
See Also