Share via


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

Return Value

Type: Microsoft.ServiceModel.DomainServices.Tools.CodeMemberShareKind
An instance of CodeMemberShareKind that indicates whether the method is shared and in what way.

See Also

Reference

ICodeGenerationHost Interface

Microsoft.ServiceModel.DomainServices.Tools Namespace