This documentation is archived and is not being maintained.

JSMethod Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a JScript method. This class belongs to the name binding category.

The JSMethod type exposes the following members.

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBaseDefinition Returns the MethodInfo object for the method on the direct or indirect base class in which this method was first declared. (Overrides MethodInfo.GetBaseDefinition().)
Public method GetCustomAttributes Overloaded. Returns an array that contains the custom attributes that are attached to this method.
Public method GetGenericArguments Returns an array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition. (Inherited from MethodInfo.)
Public method GetGenericMethodDefinition Returns a MethodInfo object that represents a generic method definition from which the current method can be constructed. (Inherited from MethodInfo.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMethodBody When overridden in a derived class, gets a MethodBody object that provides access to the MSIL stream, local variables, and exceptions for the current method. (Inherited from MethodBase.)
Public method GetMethodImplementationFlags Returns information about the implementation of this method. (Overrides MethodBase.GetMethodImplementationFlags().)
Public method GetParameters When overridden in a derived class, gets the parameters of the specified method or constructor. (Inherited from MethodBase.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Invoke Overloaded. Invokes the method.
Public method IsDefined Determines whether the specified attribute type is attached to this method. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Public method MakeGenericMethod Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a MethodInfo object representing the resulting constructed method. (Inherited from MethodInfo.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Attributes Gets the attributes associated with this method. (Inherited from MethodBase.)
Public property CallingConvention Gets a value indicating the calling conventions for this method. (Inherited from MethodBase.)
Public property ContainsGenericParameters Gets a value indicating whether a generic method contains unassigned generic type parameters. (Inherited from MethodInfo.)
Public property DeclaringType Gets the class that declares this member. (Inherited from MemberInfo.)
Public property IsAbstract Gets a value indicating whether the method is abstract. (Inherited from MethodBase.)
Public property IsAssembly Gets a value indicating whether the potential visibility of this method or constructor is described by MethodAttributes.Assembly; that is, the method or constructor is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. (Inherited from MethodBase.)
Public property IsConstructor Gets a value indicating whether the method is a constructor. (Inherited from MethodBase.)
Public property IsFamily Gets a value indicating whether the visibility of this method or constructor is described by MethodAttributes.Family; that is, the method or constructor is visible only within its class and derived classes. (Inherited from MethodBase.)
Public property IsFamilyAndAssembly Gets a value indicating whether the visibility of this method or constructor is described by MethodAttributes.FamANDAssem; that is, the method or constructor can be called by derived classes, but only if they are in the same assembly. (Inherited from MethodBase.)
Public property IsFamilyOrAssembly Gets a value indicating whether the potential visibility of this method or constructor is described by MethodAttributes.FamORAssem; that is, the method or constructor can be called by derived classes wherever they are, and by classes in the same assembly. (Inherited from MethodBase.)
Public property IsFinal Gets a value indicating whether this method is final. (Inherited from MethodBase.)
Public property IsGenericMethod Gets a value indicating whether the current method is a generic method. (Inherited from MethodInfo.)
Public property IsGenericMethodDefinition Gets a value indicating whether the current MethodInfo represents the definition of a generic method. (Inherited from MethodInfo.)
Public property IsHideBySig Gets a value indicating whether only a member of the same kind with exactly the same signature is hidden in the derived class. (Inherited from MethodBase.)
Public property IsPrivate Gets a value indicating whether this member is private. (Inherited from MethodBase.)
Public property IsPublic Gets a value indicating whether this is a public method. (Inherited from MethodBase.)
Public property IsSpecialName Gets a value indicating whether this method has a special name. (Inherited from MethodBase.)
Public property IsStatic Gets a value indicating whether the method is static. (Inherited from MethodBase.)
Public property IsVirtual Gets a value indicating whether the method is virtual. (Inherited from MethodBase.)
Public property MemberType Gets the type of member that this method is. Identifies the type of class derived from MemberInfo that this class derives from. (Overrides MethodInfo.MemberType.)
Public property MetadataToken Gets a value that identifies a metadata element. (Inherited from MemberInfo.)
Public property MethodHandle Gets a handle to the internal metadata representation of this method. (Overrides MethodBase.MethodHandle.)
Public property Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined. (Inherited from MemberInfo.)
Public property Name Gets the name of the current member. (Inherited from MemberInfo.)
Public property ReflectedType Gets the class object that was used to obtain this instance through reflection. (Overrides MemberInfo.ReflectedType.)
Public property ReturnParameter Gets a ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers. (Inherited from MethodInfo.)
Public property ReturnType Gets the return type of this method. (Inherited from MethodInfo.)
Public property ReturnTypeCustomAttributes Gets the custom attributes for the type of the return value of this method. (Overrides MethodInfo.ReturnTypeCustomAttributes.)
Top

  NameDescription
Explicit interface implemetation Private method _MemberInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MethodInfo.)
Explicit interface implemetation Private method _MemberInfo.GetType Gets a Type object representing the MemberInfo class. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.GetType Provides COM objects with version-independent access to the GetType method. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodInfo.GetType Provides access to the GetType method from COM. (Inherited from MethodInfo.)
Explicit interface implemetation Private method _MemberInfo.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodInfo.GetTypeInfo Retrieves the type information for an object, which can be used to get the type information for an interface. (Inherited from MethodInfo.)
Explicit interface implemetation Private method _MemberInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MethodInfo.)
Explicit interface implemetation Private method _MemberInfo.Invoke Provides access to properties and methods exposed by an object. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.Invoke Provides access to properties and methods exposed by an object. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodInfo.Invoke Provides access to properties and methods exposed by an object. (Inherited from MethodInfo.)
Explicit interface implemetation Private property _MethodBase.IsAbstract Provides COM objects with version-independent access to the IsAbstract property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsAssembly Provides COM objects with version-independent access to the IsAssembly property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsConstructor Provides COM objects with version-independent access to the IsConstructor property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsFamily Provides COM objects with version-independent access to the IsFamily property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsFamilyAndAssembly Provides COM objects with version-independent access to the IsFamilyAndAssembly property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsFamilyOrAssembly Provides COM objects with version-independent access to the IsFamilyOrAssembly property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsFinal Provides COM objects with version-independent access to the IsFinal property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsHideBySig Provides COM objects with version-independent access to the IsHideBySig property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsPrivate Provides COM objects with version-independent access to the IsPrivate property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsPublic Provides COM objects with version-independent access to the IsPublic property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsSpecialName Provides COM objects with version-independent access to the IsSpecialName property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsStatic Provides COM objects with version-independent access to the IsStatic property. (Inherited from MethodBase.)
Explicit interface implemetation Private property _MethodBase.IsVirtual Provides COM objects with version-independent access to the IsVirtual property. (Inherited from MethodBase.)
Top
Show: