C# 클래스 PERWAPI.Param

Descriptor for a parameter of a method defined in this assembly/module
상속: MetaDataElement
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
nameIx uint
pName string

공개 메소드들

메소드 설명
AddAttribute ( ParamAttr att ) : void
AddDefaultValue ( Constant cVal ) : void

Add a default value to this parameter

GetAttributes ( ) : ParamAttr
GetDefaultValue ( ) : Constant

Get the default constant value for this parameter

GetMarshalType ( ) : NativeType

Get the parameter marshalling information

GetName ( ) : string

Retrieve the name of this parameter

GetParType ( ) : Type

Get the type of this parameter

Param ( ParamAttr mode, string parName, Type parType ) : System

Create a new parameter for a method

RemoveDefaultValue ( ) : void

Remove the default constant value for this parameter

RemoveMashalType ( ) : void

Remove any marshalling information for this parameter

SetAttributes ( ParamAttr att ) : void
SetMarshalType ( NativeType mType ) : void

Add marshalling information about this parameter

SetName ( string nam ) : void

Set the name of this parameter

SetParType ( Type parType ) : void

Set the type of this parameter

비공개 메소드들

메소드 설명
BuildCILInfo ( CILWriter output ) : void
BuildTables ( MetaDataOut md ) : void
Copy ( Type paramType ) : Param
GetCodedIx ( CIx code ) : uint
Param ( PEReader buff ) : System
Read ( PEReader buff, TableRow pars ) : void
Resolve ( PEReader buff, uint fIx, Type type ) : void
Size ( MetaData md ) : uint
TypeSig ( MemoryStream str ) : void
Write ( CILWriter output ) : void
Write ( PEWriter output ) : void

메소드 상세

AddAttribute() 공개 메소드

public AddAttribute ( ParamAttr att ) : void
att ParamAttr
리턴 void

AddDefaultValue() 공개 메소드

Add a default value to this parameter
public AddDefaultValue ( Constant cVal ) : void
cVal Constant the default value for the parameter
리턴 void

GetAttributes() 공개 메소드

public GetAttributes ( ) : ParamAttr
리턴 ParamAttr

GetDefaultValue() 공개 메소드

Get the default constant value for this parameter
public GetDefaultValue ( ) : Constant
리턴 Constant

GetMarshalType() 공개 메소드

Get the parameter marshalling information
public GetMarshalType ( ) : NativeType
리턴 NativeType

GetName() 공개 메소드

Retrieve the name of this parameter
public GetName ( ) : string
리턴 string

GetParType() 공개 메소드

Get the type of this parameter
public GetParType ( ) : Type
리턴 Type

Param() 공개 메소드

Create a new parameter for a method
public Param ( ParamAttr mode, string parName, Type parType ) : System
mode ParamAttr param mode (in, out, opt)
parName string parameter name
parType Type parameter type
리턴 System

RemoveDefaultValue() 공개 메소드

Remove the default constant value for this parameter
public RemoveDefaultValue ( ) : void
리턴 void

RemoveMashalType() 공개 메소드

Remove any marshalling information for this parameter
public RemoveMashalType ( ) : void
리턴 void

SetAttributes() 공개 메소드

public SetAttributes ( ParamAttr att ) : void
att ParamAttr
리턴 void

SetMarshalType() 공개 메소드

Add marshalling information about this parameter
public SetMarshalType ( NativeType mType ) : void
mType NativeType
리턴 void

SetName() 공개 메소드

Set the name of this parameter
public SetName ( string nam ) : void
nam string parameter name
리턴 void

SetParType() 공개 메소드

Set the type of this parameter
public SetParType ( Type parType ) : void
parType Type
리턴 void

프로퍼티 상세

nameIx 보호되어 있는 프로퍼티

protected uint nameIx
리턴 uint

pName 보호되어 있는 프로퍼티

protected string pName
리턴 string