| ModelDocExtensionAccess3rdPartyStorageStore Method |
Access the 3rd party storage store for reading or writing
Namespace:
SolidWorks.Interop.sldworks
Assembly:
CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.8.1.0 (0.8.1.0)
Syntax public static IThirdPartyStoreHandler Access3rdPartyStorageStore(
this IModelDoc2 model,
string name,
bool write
)
<ExtensionAttribute>
Public Shared Function Access3rdPartyStorageStore (
model As IModelDoc2,
name As String,
write As Boolean
) As IThirdPartyStoreHandler
public:
[ExtensionAttribute]
static IThirdPartyStoreHandler^ Access3rdPartyStorageStore(
IModelDoc2^ model,
String^ name,
bool write
)
Parameters
- model
- Type: IModelDoc2
Pointer to document - name
- Type: SystemString
Name of the stream - write
- Type: SystemBoolean
True to open for writing, false to open for reading
Return Value
Type:
IThirdPartyStoreHandlerPointer to the store handler
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IModelDoc2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also