CustomAttributeNamedArgument Constructor
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
memberInfo As MemberInfo, _
typedValue As CustomAttributeTypedArgument _
)
'Usage
Dim memberInfo As MemberInfo
Dim typedValue As CustomAttributeTypedArgument
Dim instance As New CustomAttributeNamedArgument(memberInfo, _
typedValue)
public CustomAttributeNamedArgument(
MemberInfo memberInfo,
CustomAttributeTypedArgument typedValue
)
public:
CustomAttributeNamedArgument(
MemberInfo^ memberInfo,
CustomAttributeTypedArgument typedValue
)
new :
memberInfo:MemberInfo *
typedValue:CustomAttributeTypedArgument -> CustomAttributeNamedArgument
public function CustomAttributeNamedArgument(
memberInfo : MemberInfo,
typedValue : CustomAttributeTypedArgument
)
Parameters
- memberInfo
Type: System.Reflection.Mock.MemberInfo
- typedValue
Type: System.Reflection.Mock.CustomAttributeTypedArgument
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CustomAttributeNamedArgument Structure