TypeInfo.GetDeclaredMethods(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 that contains all methods declared on the current type that match the specified name.
public:
virtual System::Collections::Generic::IEnumerable<System::Reflection::MethodInfo ^> ^ GetDeclaredMethods(System::String ^ name);
public virtual System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> GetDeclaredMethods (string name);
abstract member GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
override this.GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
Public Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)
Public Iterator Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)
Parameters
- name
- String
The method name to search for.
Returns
A collection that contains methods that match name
.
Exceptions
name
is null
.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.