| ViewPartAttribute Constructor (String, String, String, String, Keys) |
Initialize the viewpart attribute.
Namespace: Sdl.Desktop.IntegrationApi.ExtensionsAssembly: Sdl.Desktop.IntegrationApi.Extensions (in Sdl.Desktop.IntegrationApi.Extensions.dll) Version: 4.0.0.0 (4.2.2764.0)
Syntaxpublic ViewPartAttribute(
string id,
string name,
string description,
string helpTopic,
Keys shortcut = Keys.None
)
Public Sub New (
id As String,
name As String,
description As String,
helpTopic As String,
Optional shortcut As Keys = Keys.None
)
public:
ViewPartAttribute(
String^ id,
String^ name,
String^ description,
String^ helpTopic,
Keys shortcut = Keys::None
)
new :
id : string *
name : string *
description : string *
helpTopic : string *
?shortcut : Keys
(* Defaults:
let _shortcut = defaultArg shortcut Keys.None
*)
-> ViewPartAttributeParameters
- id
- Type: SystemString
The unique id for the viewpart. - name
- Type: SystemString
The name for this view. Should typically be a key of a resource string in PluginResources.resx. - description
- Type: SystemString
The description for this view. Should typically be a key of a resource string in PluginResources.resx. - helpTopic
- Type: SystemString
The help topic identifier of the viewpart. - shortcut (Optional)
- Type: System.Windows.FormsKeys
The shortcut key for accessing the viewpart.
See Also
Comments