| ViewPartAttribute Constructor (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 helpTopic,
Keys shortcut = Keys.None
)
Public Sub New (
id As String,
helpTopic As String,
Optional shortcut As Keys = Keys.None
)
public:
ViewPartAttribute(
String^ id,
String^ helpTopic,
Keys shortcut = Keys::None
)
new :
id : string *
helpTopic : string *
?shortcut : Keys
(* Defaults:
let _shortcut = defaultArg shortcut Keys.None
*)
-> ViewPartAttributeParameters
- id
- Type: SystemString
The unique id for the viewpart. - helpTopic
- Type: SystemString
The help topic identifier of the viewpart. - shortcut (Optional)
- Type: System.Windows.FormsKeys
The shortcut key for accessing the viewpart.
Remarks
This constructor should be used only if pluginresources are used to resolve the name and description of the extension.
The resource keys for name and description are built from id and postfixed with _Name and _Description.
See Also
Comments