RelationshipCollection.Contains 方法 (String)

Determines whether a relationship with the specified identifier exists in the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Contains ( _
    id As String _
) As Boolean
用法
Dim instance As RelationshipCollection 
Dim id As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(id)
public bool Contains(
    string id
)
public:
bool Contains(
    String^ id
)
member Contains : 
        id:string -> bool
public function Contains(
    id : String
) : boolean

参数

  • id
    类型:System.String
    The identifier of the relationship to locate.

返回值

类型:System.Boolean
True if the relationship exists in the collection; otherwise, false.

请参阅

参考

RelationshipCollection 类

Contains 重载

Microsoft.AnalysisServices 命名空间