PostSharp 6.10 / / Post­Sharp Documentation / 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: 6.10.10.0 (6.10.10.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