DesignerCommandSet.GetCommands(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of command objects.
public:
virtual System::Collections::ICollection ^ GetCommands(System::String ^ name);
public virtual System.Collections.ICollection GetCommands (string name);
public virtual System.Collections.ICollection? GetCommands (string name);
abstract member GetCommands : string -> System.Collections.ICollection
override this.GetCommands : string -> System.Collections.ICollection
Public Overridable Function GetCommands (name As String) As ICollection
Parameters
- name
- String
The type of collection to return, indicating either a DesignerActionListCollection or a DesignerVerbCollection.
Returns
A collection that contains the specified type - either DesignerActionList or DesignerVerb - of command objects. The base implementation always returns null
.
Remarks
Although the base implementation always returns null
, the overridden version supplied by the programmer should return a collection of command objects of the type described by name
. The base implementation of the Verbs and ActionLists properties specify the following values and meanings for this parameter.
String | Meaning |
---|---|
"ActionLists" | Return a collection of all the smart tags associated with the component. |
"Verbs" | Return a collection of all the designer verbs associated with the component. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om