FunctionMemberAst Constructor  
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.
Construct a member function.
public:
 FunctionMemberAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::FunctionDefinitionAst ^ functionDefinitionAst, System::Management::Automation::Language::TypeConstraintAst ^ returnType, System::Collections::Generic::IEnumerable<System::Management::Automation::Language::AttributeAst ^> ^ attributes, System::Management::Automation::Language::MethodAttributes methodAttributes);
	public FunctionMemberAst(System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.FunctionDefinitionAst functionDefinitionAst, System.Management.Automation.Language.TypeConstraintAst returnType, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.AttributeAst> attributes, System.Management.Automation.Language.MethodAttributes methodAttributes);
	new System.Management.Automation.Language.FunctionMemberAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.FunctionDefinitionAst * System.Management.Automation.Language.TypeConstraintAst * seq<System.Management.Automation.Language.AttributeAst> * System.Management.Automation.Language.MethodAttributes -> System.Management.Automation.Language.FunctionMemberAst
	Public Sub New (extent As IScriptExtent, functionDefinitionAst As FunctionDefinitionAst, returnType As TypeConstraintAst, attributes As IEnumerable(Of AttributeAst), methodAttributes As MethodAttributes)
	Parameters
- extent
 - IScriptExtent
 
The extent of the method starting from any attributes to the closing curly.
- functionDefinitionAst
 - FunctionDefinitionAst
 
The main body of the method.
- returnType
 - TypeConstraintAst
 
The return type of the method, may be null.
- attributes
 - IEnumerable<AttributeAst>
 
The custom attributes for the function.
- methodAttributes
 - MethodAttributes
 
The method attributes like public or static.