ICodeGenerationHost.GetMethodShareKind Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Returns a value that indicates whether a method named methodName exposed by the type specified by typeName from the source project is also visible to the target project.
Namespace: Microsoft.ServiceModel.DomainServices.Tools
Assembly: Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)
Syntax
'Declaration
Function GetMethodShareKind ( _
typeName As String, _
methodName As String, _
parameterTypeNames As IEnumerable(Of String) _
) As CodeMemberShareKind
'Usage
Dim instance As ICodeGenerationHost
Dim typeName As String
Dim methodName As String
Dim parameterTypeNames As IEnumerable(Of String)
Dim returnValue As CodeMemberShareKind
returnValue = instance.GetMethodShareKind(typeName, _
methodName, parameterTypeNames)
CodeMemberShareKind GetMethodShareKind(
string typeName,
string methodName,
IEnumerable<string> parameterTypeNames
)
CodeMemberShareKind GetMethodShareKind(
String^ typeName,
String^ methodName,
IEnumerable<String^>^ parameterTypeNames
)
abstract GetMethodShareKind :
typeName:string *
methodName:string *
parameterTypeNames:IEnumerable<string> -> CodeMemberShareKind
function GetMethodShareKind(
typeName : String,
methodName : String,
parameterTypeNames : IEnumerable<String>
) : CodeMemberShareKind
Parameters
- typeName
Type: System.String
The AssemblyQualifiedName from the source project.
- methodName
Type: System.String
The name of the method.
- parameterTypeNames
Type: System.Collections.Generic.IEnumerable<String>
The AssemblyQualifiedName names of the method parameters, in the order they must be declared.
Return Value
Type: Microsoft.ServiceModel.DomainServices.Tools.CodeMemberShareKind
An instance of CodeMemberShareKind that indicates whether the method is shared and in what way.