createString static method

IPropertyValue createString(
  1. String value
)

Implementation

static IPropertyValue createString(String value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createString(value);
  } finally {
    free(activationFactory);
  }
}