NewItemFactory.GetDisplayName Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the name that is used in the drop-down list to identify the Type that is added to the collection.
Namespace: System.Activities.Design.PropertyEditing
Assembly: System.Activities.Design.Base (in System.Activities.Design.Base.dll)
Syntax
'Declaration
Public Overridable Function GetDisplayName ( _
type As Type _
) As String
'Usage
Dim instance As NewItemFactory
Dim type As Type
Dim returnValue As String
returnValue = instance.GetDisplayName(type)
public virtual string GetDisplayName(
Type type
)
public:
virtual String^ GetDisplayName(
Type^ type
)
public function GetDisplayName(
type : Type
) : String
abstract GetDisplayName :
type:Type -> string
override GetDisplayName :
type:Type -> string
Parameters
- type
Type: System.Type
Type for which to retrieve the display name.
Return Value
Type: System.String
A string display name for the specified 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.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4