Converts the name to a Type.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Overridable Function GetTypeFromNameProperty ( _
typeName As String _
) As Type
'使用
Dim instance As DesignPropertyDescriptor
Dim typeName As String
Dim returnValue As Type
returnValue = instance.GetTypeFromNameProperty(typeName)
public virtual Type GetTypeFromNameProperty(
string typeName
)
public:
virtual Type^ GetTypeFromNameProperty(
String^ typeName
)
public function GetTypeFromNameProperty(
typeName : String
) : Type
Parameters
typeName
Type: System.StringThe name of the type.
Return Value
Type: System.Type
Type.
Permissions
- 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.
See Also
Reference
DesignPropertyDescriptor Class