public class ParameterBuilder
|
Attributes | Read-only Retrieves the attributes for this parameter. |
IsIn | Read-only Retrieves whether this is an input parameter. |
IsOptional | Read-only Retrieves whether this parameter is optional. |
IsOut | Read-only Retrieves whether this parameter is an output parameter. |
Name | Read-only Retrieves the name of this parameter. |
Position | Read-only Retrieves the signature position for this parameter. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetToken | Retrieves the token for this parameter. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
SetConstant | Sets the default value of the parameter. |
SetCustomAttribute | Overloaded:SetCustomAttribute(CustomAttributeBuilder customBuilder) Set a custom attribute using a custom attribute builder. |
SetCustomAttribute | Overloaded:SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) Set a custom attribute using a specified custom attribute blob. |
SetMarshal | Specifies the marshaling for this parameter. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public virtual int Attributes {get;}
|
public bool IsIn {get;}
|
public bool IsOptional {get;}
|
public bool IsOut {get;}
|
public virtual string Name {get;}
|
public virtual int Position {get;}
|
~ParameterBuilder(); |
public virtual int GetHashCode(); |
public virtual ParameterToken GetToken(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual void SetConstant( |
defaultValue
Exception Type | Condition |
---|---|
ArgumentException | The type of defaultValue is not one of the types mentioned in the remarks section. |
public void SetCustomAttribute( |
customBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | con is null. |
public void SetCustomAttribute( |
con
binaryAttribute
Exception Type | Condition |
---|---|
ArgumentNullException | con or binaryAttribute is null. |
public virtual void SetMarshal( |
unmanagedMarshal
Exception Type | Condition |
---|---|
ArgumentNullException | unmanagedMarshal is null. |
InvalidOperationException if the containing type has been created using TypeBuilder.CreateType().
public virtual string ToString(); |