clrGetMemberSignature: Gets the signature of a CLI object member

Description Usage Arguments Value Examples

Description

Gets a string representation of the signature of a member (i.e. field, property, method). Mostly used to interactively search for what arguments to pass to a method.

Usage

1
clrGetMemberSignature(clrobj, memberName)

Arguments

clrobj

CLR object

memberName

The exact name of the member (i.e. field, property, method) to search for

Value

a character vector with summary information on the method/member signatures

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(rClr)
testClassName <- "Rclr.TestObject";
testObj <- clrNew(testClassName)
clrReflect(testObj)
clrGetMemberSignature(testObj, 'set_PropertyIntegerOne')
clrGetMemberSignature(testObj, 'FieldIntegerOne')
clrGetMemberSignature(testObj, 'PropertyIntegerTwo')

## End(Not run)

jmp75/rClr documentation built on June 11, 2019, 6:45 p.m.