SandboxRulesIsMemberAllowed Method |
Determines if member access is allowed.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool IsMemberAllowed(
Type type,
MemberInfo member_info
)
Public Function IsMemberAllowed (
type As Type,
member_info As MemberInfo
) As Boolean
public:
bool IsMemberAllowed(
Type^ type,
MemberInfo^ member_info
)
Parameters
- type Type
-
Determine if access to this type's member is allowed.
- member_info MemberInfo
-
Determine if this member can be accessed.
Return Value
Boolean
true: member access is allowed.
Remarks
The following public members are allowed:
Only members with allowed result and parameter types are allowed (see
IsTypeAllowed(Type)).
Example
See Also