ImportMemberAttribute(params string[])
Initializes a new instance of the ImportMemberAttribute class and specifies several possible names for the member to import.
Declaration
public ImportMemberAttribute(params string[] memberNames)Parameters
| Type | Name | Description |
|---|---|---|
| string[] | memberNames | The possible names of the member to import, in order of precedence. |
ImportMemberAttribute(string)
Initializes a new instance of the ImportMemberAttribute class and specifies a single name for the member to import.
Declaration
public ImportMemberAttribute(string memberName)Parameters
| Type | Name | Description |
|---|---|---|
| string | memberName | The name of the member to import. |