Partition.FindByAlternateId Method
Find a partition by its AlternateKey
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Shared Function FindByAlternateId ( _
store As Store, _
alternateId As Object _
) As Partition
public static Partition FindByAlternateId(
Store store,
Object alternateId
)
public:
static Partition^ FindByAlternateId(
Store^ store,
Object^ alternateId
)
static member FindByAlternateId :
store:Store *
alternateId:Object -> Partition
public static function FindByAlternateId(
store : Store,
alternateId : Object
) : Partition
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
The store to find the partition
- alternateId
Type: System.Object
The AlternateId of the partition
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.